<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/base_font.css"/>
<link rel="stylesheet" type="text/css" href="css/online-book/online-book.css"/>
<link rel="stylesheet" type="text/css" href="css/common_font.css"/>
<title>途牛旅游网</title>
<meta name="keywords" content="途牛旅游网" />
<meta name="description" content="途牛旅游网" />
<meta name="HandheldFriendly" content="true" />
<meta name="MobileOptimized" content="width" />
<meta id="viewport" content="width=device-width, user-scalable=no, initial-scale=1" name="viewport" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta content="telephone=no" name="format-detection" />
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-retina.png">
<script type="text/javascript">
    var viewPortScale;
    var dpr = window.devicePixelRatio;
    viewPortScale = 0.5;
    //
    var detectBrowser = function(name) {
        if(navigator.userAgent.toLowerCase().indexOf(name) > -1) {
            return true;
        } else {
            return false;
        }
    };
    var width = parseInt(window.screen.width);
    if(detectBrowser("mz-m2")||detectBrowser("m2 note")||detectBrowser("mz-mx5")||detectBrowser("mz-mx6")) width = window.outerWidth;
    var scale = width/640;
    var userScalable = 'no';
    if(detectBrowser("qq/")) userScalable = 'yes';
    document.getElementById('viewport').setAttribute('content', 'target-densitydpi=device-dpi,width=640,user-scalable='+userScalable+',initial-scale=' + scale);
    var turnToWebUrl='http://www.tuniu.com/';

	var globalCheckIsInWebview = function () {
		var checkDeviceType = document.cookie.match(new RegExp('(^| )deviceType=([^;]*)(;|$)'));
		if (checkDeviceType && checkDeviceType[2] && (checkDeviceType[2] == '0' || checkDeviceType[2] == '1')) {
			return true;
		} else {
			return false;
		}
	};

    // 在head中请求`getCurrentCityInfoAjax`
    (function() {
        var gaStatus = {
            loaded: false,
            cityName: ""
        };

        var elAjaxUrl = 'ajax/getCurrentCityInfoAjax.txt';

        try {
            var hash = window.location.hash.replace(/^#/,''),
                request = new XMLHttpRequest(),
                request1 = new XMLHttpRequest(),
                getCityUrlHash = '',
                getCityUrlArr;

            if(hash !== '') {
                hash += "&referer=" + encodeURIComponent(document.referrer);
            } else {
                hash += "referer=" + encodeURIComponent(document.referrer);
            }

            if(elAjaxUrl.match(/#/)) {
                getCityUrlArr = getCityUrl.split('#');
                elAjaxUrl = getCityUrlArr[0];
                getCityUrlHash = getCityUrlArr[1];
            } else {
                getCityUrlHash = '';
            }

            if(elAjaxUrl.match(/\?/)) {
                elAjaxUrl += "&" + hash;
            } else {
                elAjaxUrl += "?" + hash;
            }

            if(getCityUrlHash !== '') {
                elAjaxUrl += "#" + getCityUrlHash;
            }

            request.onreadystatechange = function() {
                if(request.readyState == 4) {
                    var data = JSON.parse(request.responseText),
                        cityName;

                    if(typeof(data.data.cityName)!="string") {
                        cityName = "上海";
                    } else {
                        cityName = data.data.cityName;
                    }

                 	// GA增加统计内容
                    var gaAddon = {
						isWebview : globalCheckIsInWebview() ? 'true' : 'false',
                    };

                    var getTelConsultAjax = document.querySelector('#getTelConsultAjax');
                    var url = "";
                    if (getTelConsultAjax) {
                        url = getTelConsultAjax.value;
                    }else{
                        return;
                    }
                    var telConsult = document.querySelector('#telConsult');
                    var dotAjax = document.querySelector("#dotAjax");
                    request1.open("GET",url,true);
                    request1.withCredentials = true;
                    request1.send();
                    request1.onreadystatechange = function(){
                        if(request1.readyState == 4) {
                            var data = JSON.parse(request1.responseText);
                            tuniu_common.cookie.set("tel_400",data.data.telConsult);
                            telConsult.href = "tel:" + data.data.telConsult;
                            telConsult.onclick = function(){
                                try {
                                    if (dotAjax) {
                                        $.ajax({
                                            url: dotAjax.value + '?data={"type": 1, "book_type": 0, "submit_type": 0, "page_type": 1}',
                                            success: function() {
                                                window.location = telConsult.href;
                                            }
                                        });
                                        return false;
                                    }
                                } catch (e) {
                                    window.location = telConsult.href;
                                }
                            }
                        }
                    }
                }
            };

            request.open('GET', elAjaxUrl, true);
            request.withCredentials = true;
            request.send();
        } catch(e) {
            console.debug(e);
        }
    })();
</script>
</head>
<body>
<div class="header-box" id="header">
    <div class="header clearfix" id="topHeader">
        <div class="back_icon_control" id="mainBack">
            <span class="icon-arrow-left"></span><a href="javascript:window.history.go(-1);" class="back_icon_info">返回</a>
        </div>
        <div class="title">
            <div class="name"><span id='stepTitle'>1/3填写订单</span></div>
        </div>
    </div>
</div>
<div class="wrapper" id="wrapper">
	<div id="index">
	<div class="step-two">
    <div class="panel routeInfo">
        <section>
            <div class="title route-title">
                [国庆]&lt;清江画廊-三峡大瀑布动车2日游&gt;住四星酒店 累计千人出游
            </div>
            <div class="content route-content">
                <p>产品编号：941782</p>
                <p>出发日期：2015-09-11</p>
                <p>出游人数：1成人</p>
            </div>
        </section>
    </div>
    <div class="panel touristInfo" id="c0_tourist">
        <div class="title tourist-title">联系人信息</div>
        <div class="content tourist-content">
            <div class="form-item">
                <div class="form-title">姓名</div><div class="form-input"><input type="text" name="realname" placeholder="必填" value="" /></div>
            </div>
            <div class="form-item">
                <div class="form-title tel">手机</div><div class="form-input"><input type="tel" name="tel" id="userPhone" placeholder="必填，用于接收订单确认信息" value="" /></div>
                <p class="againTel hide" style="margin-left: 104px; margin-top:10px;font-size:24px;color:#fc6e11;"><i id="confirmation" class="icon-checkbox-checked">&#160;我确认以上信息，并同意途牛会员协议</i></p>
            </div>
            <div class="form-item password hide">
                <div class="form-title">密码</div><div class="form-input"><input type="password" name="password" placeholder="您已是途牛会员，请核实身份"/></div>
                <div class="need-captcha" style="display: none;">
                    <input style="width: 220px;padding-left: 9px;" id="veryPicCode" type="text" placeholder="请输入右侧验证码"/>
                    <img id="imgTelObj" src="" />
                </div>
                <p><span class="login">登录</span><span id="forget" class="forget">忘记密码？</span></p>
                <input type="hidden" value="http://dynamic.m.tuniu.com/user/ResetPasswordAjax" id="resetPasswordAjax">
            </div>
            <div class="form-item">
                <div class="form-title">邮箱</div><div class="form-input"><input type="text" name="email" placeholder="必填，用于接收旅游合同" value=""/></div>
            </div>
        </div>
    </div>
    <div id="touristList">

    </div>
    <div class="panel specialPeopleInfo">

    </div>
    <div class="panel msgInfo">
    <div class="title msg-title"><i class="orange icon-attention"></i>为了保障您的合法权益，请准确、完整的填写游客证件信息，<label class="orange">出游人信息不完整会延误你的正常出游</label>；儿童游客如无相关证件，证件类型请选择"其他"，并填写出生日期。因填写信息不完整、不准确造成的保险拒赔等问题，我司不承担相应责任。</div>
    </div>
        <div class="position-bottom"></div>

    <div class="btn-box fixed">
        <div class="select-info">
            <div><span><span class="orange">1</span>成人，</span><span><span class="orange">￥459</span></span>/人</div>
                    </div>
        <div><a id="submit_c1" class="btn fr middle active">下一步</a></div>
    </div>

    </div>
<input type="hidden" value="http://dynamic.m.tuniu.com/onlineBook/OnlineBook/sendYzmAjax" id="sendTelCodeAjax">
<input type="hidden" value="http://dynamic.m.tuniu.com/onlineBook/OnlineBook/checkYzmAjax" id="sendCaptchaAjax"/>
<input type="hidden" value="0" id="yzmFlag"/>
<input type="hidden" value="http://dynamic.m.tuniu.com/onlineBook/../user/doLoginAjax" id="doLoginAjax">
<input type="hidden" value="http://dynamic.m.tuniu.com/weixin/bind/bindPre" id="wxNotice">
<input type="hidden" id="isMemberAjax" value="http://dynamic.m.tuniu.com/onlineBook/user/isMemberAjax">
<input type="hidden" value="http://dynamic.m.tuniu.com/order/GetDuplicateOrders" id="getDuplicateOrders">
<input type="hidden" value="http://dynamic.m.tuniu.com/order/addOrderFail" id="addOrderFail">

<input type="hidden" name="needCaptcha" value="0" />
<!--获取验证码地址-->
<input type="hidden" value="/captcha/captcha" id="imgSrc">
<!--判断是否需要验证码接口-->
<input type="hidden" value="http://dynamic.m.tuniu.com/user/captchaAjax" id="captchaAjax" >
<form method="POST" id="form" action="http://dynamic.m.tuniu.com/olb/order/gt/3?wechat_card_js=1">
    <input id="submitData" name="params" type="hidden" value="">
</form>
<form method="POST" id="checkForm" action="http://dynamic.m.tuniu.com/order/GetDuplicateOrders">
    <input id="checkSubmitData" name="base" type="hidden" value="">
    <input id="productType" name="productType" type="hidden" value="">
    <input id="productId" name="productId" type="hidden" value="">
    <input id="bookId" name="bookId" type="hidden" value="MjIxNTcxNjImODE4NTYyNA==">
</form>
<script>
    var userId = 0;
    var bookId = "MjIxNTcxNjImODE4NTYyNA==";
    var productType = "1";
    var routeName = "[国庆]&lt;清江画廊-三峡大瀑布动车2日游&gt;住四星酒店 累计千人出游";
    var adultNum = 1;
    var childNum = 0;
    //canBookOnlineFlag=0网络单=1在线单
    var canBookOnlineFlag = 1;

    var specialPeopleArr = eval({"numLimit":{"maxLimit":"","minLimit":""},"ageLimit":{"ageMin":"","ageMax":"80"},"healthLimit":{"ageMin":"70","ageMax":79},"onlineLimit":{"ageMin":"","ageMax":""},"foreignLimit":0,"foreignLimitType":0});

    var CheckDuplicateOrderAjax = "http://dynamic.m.tuniu.com/onlineBook/order/CheckDuplicateOrderAjax";
    var GetDuplicateOrders = "http://dynamic.m.tuniu.com/onlineBook/order/GetDuplicateOrders";
    var doLoginAjax = "http://dynamic.m.tuniu.com/onlineBook/user/doLoginAjax"
</script>	</div>
	</div>

<script type="text/javascript">
    var no_show_download_p_value = [15485,16276,14816,16194,14895,16238,16576,16670,16524,16525,16526,16527,16528,16529,16530,16531,16532,16533,16534,16238,16535,16667];
    var no_show_slider_p_value = [16276];
    var pageName="无线:度假:线路预订:自驾游BU:区域周边部:湖北区周边采购组:填写周边跟团-国内跟团-自驾游预订人";
</script>
<input type="hidden" id="appTitle" name="appTitle" value="途牛旅游网" />
<div id="tn_app_top_bar" style="display: none;">
    <input id="top_bar_title" value="途牛旅游网" />
    <input id="top_bar_sub_title" value="" />
    <input id="top_bar_show_refresh" value="" />
</div>
<script type="text/javascript" src="js/common/commonV2.js"></script>
<script type="text/javascript" src="js/sea-modules/seajs/1.3.1/sea.js"></script>
<script type="text/javascript" src="js/config.js"></script>
<script type="text/javascript" src="js/business-modules/online-book/online-book-two.js"></script>
<script type="text/javascript" src="js/business-modules/member/verification.js"></script>
</body>
</html>